<template>
  <common_print_dialog ref="common_print_dialog" businessType="RETURN_SKU" v-bind="$attrs" v-on="$listeners"
    generateUrl="/wms-api/refund/WmsReturnActionRpc/getReturnSkuCodes.json"
    printUrl="/wms-api/refund/WmsReturnOrderRpc/pushReturnSkuCode.json" :printHandler="(data, list) => {
      data.clientId = data.clientName
      data.printNum = data.printNumSum
      data.returnSkuCodes = list
      return data
    }" previewUrl="/wms-api/refund/WmsReturnOrderRpc/previewReturnSkuCode.json" :previewHandler="(data, row) => {
  data.returnSkuCodeList = row;
  return data
}" />
</template>

<script>
import common_print_dialog from './common_print_dialog.vue'
export default {
  components: { common_print_dialog },

  methods: {

    show(...params) {
      this.$refs.common_print_dialog.show(...params)
    },



  }
}
</script>
